package com.xindz.hgq.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.KeyEvent;

import com.xindz.hgq.R;
import com.xindz.hgq.base.BaseActivity;
import com.xindz.hgq.base.options.BaseActivityOptions;

/**
 * @name HGQBase
 * @class name：com.xindz.hgq.activity
 * @describe 默认Activity
 * @anthor XINDZ
 * @time 2018/1/16 9:25
 * @change
 * @chang time
 * @class describe
 */
public class DefaultActivity extends BaseActivity {
    @Override
    public BaseActivityOptions setOption() {
        return null;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_act_default);
        boolean openTitle = getOptions().isOpenTitle();
        boolean openLoadSir = getOptions().isOpenLoadSir();
        boolean openMVP = getOptions().isOpenMVP();
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        return super.onKeyDown(keyCode, event);
    }
}
